x86emul: respect NSCB
authorJan Beulich <jbeulich@suse.com>
Tue, 11 Oct 2022 12:30:41 +0000 (14:30 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 11 Oct 2022 12:30:41 +0000 (14:30 +0200)
commit87a20c98d9f0f422727fe9b4b9e22c2c43a5cd9c
tree1ae7d7894bbb6390c50eec8db90c2429998ab9bc
parent6e3aab858eef614a21a782a3b73acc88e74690ea
x86emul: respect NSCB

protmode_load_seg() would better adhere to that "feature" of clearing
base (and limit) during NULL selector loads.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
xen/arch/x86/x86_emulate/x86_emulate.c